package com.beeantec.jnrerc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author anthony
 * @since 2021-12-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("team_mission")
public class TeamMission extends Model<TeamMission> {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long teamId;

    private Long missionId;

    private Integer assign =0;


    public static final String ID = "id";

    public static final String TEAM_ID = "team_id";

    public static final String MISSION_ID = "mission_id";

    public static final String ASSIGN = "assign";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
